<template>
	<view class="tab-header">
			<view class="goBack" @tap="goBack"></view>
				<text class="goBack-header">{{tabTitle}}</text>	
	</view>
</template>

<script>
	export default {
	
		data() {
			return {
				
			};
		},
		methods:{
			goBack(){
				uni.navigateBack({})
			}
		},
		props:['tabTitle']
	}
</script>

<style lang="scss" scoped>
		.tab-header{
			// z-index: 99;
			// position: fixed;
			padding-top: 74upx;
			.goBack{
				border: solid black;
				border-width: 0 5upx 5upx 0;
				display: inline-block;
				padding: 10upx;
				transform: rotate(135deg);
				vertical-align: middle;
				margin: 0 25upx 10upx 37upx;
			}
			.goBack-header{
				font-size: $font32;
				letter-spacing: 2upx;
			}
		}
		

</style>
